package com.bgrconsulting.stockorderentry.service.converter.response;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

import com.bgrconsulting.stockorderentry.service.model.response.PlaceChangeEquityOrderResponse;
import com.bgrconsulting.stockorderentry.service.model.response.PlaceEquityOrderResponse;

@XmlRootElement(name = "PlaceChangeEquityOrderResponse")
public class PlaceChangeEquityOrderResponseConverter {
	PlaceChangeEquityOrderResponse enity;
	
	public PlaceChangeEquityOrderResponseConverter(PlaceChangeEquityOrderResponse placeChangeEquityOrderResponse) {
		enity = placeChangeEquityOrderResponse;
	}
	
	@XmlElement(name = "equityOrderResponse")
	public EquityOrderResponseConverter getEquityOrderResponse() {
		EquityOrderResponseConverter equityOrderResponseConverter = new EquityOrderResponseConverter(enity.getEquityOrderResponse());
		return equityOrderResponseConverter;
	}
}

